# $Id: PKGBUILD 148827 2012-02-05 11:51:57Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libgtkhtml
pkgver=2.11.1
pkgrel=4
pkgdesc="An HTML library for GTK"
arch=(i686 x86_64)
license=('LGPL')
depends=('gtk2>=2.22.1' 'libxml2>=2.7.8')
makedepends=('perlxml')
options=('!libtool')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.11/${pkgname}-${pkgver}.tar.bz2)
md5sums=('a1d1a197dcff8c4571659deef5495e24')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --disable-static
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
